Close msword without save

I am trying to close word without saveing the export -- following is close but not close enough -- does anyone know the missing key.
Thanks

clear objArgBlock
put(objArgBlock, "False")
oleMethod(objDoc,"Close" ,objArgBlock)

doors36677 - Thu Oct 22 13:51:09 EDT 2009

Re: Close msword without save
ePiallat - Fri Oct 23 04:06:06 EDT 2009

You were really close ;)

clear objArgBlock
put(objArgBlock, 0) // wdSaveOptions constant: wdDoNotSaveChanges = 0
oleMethod(objDoc,"Close" ,objArgBlock)

Re: Close msword without save
doors36677 - Fri Oct 23 09:19:14 EDT 2009

ePiallat - Fri Oct 23 04:06:06 EDT 2009

You were really close ;)

clear objArgBlock
put(objArgBlock, 0) // wdSaveOptions constant: wdDoNotSaveChanges = 0
oleMethod(objDoc,"Close" ,objArgBlock)

Thanks,